package com.copm.demonstrationsystem.service.introductionfeatures;

import com.copm.demonstrationsystem.commons.response.ResponseStatus;
import com.copm.demonstrationsystem.dto.introductionfeatures.landscapeAndFacility.LandscapeTypeImageReceiveDto;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: Yuan Baiyu
 * @Date: Created in 15:11 2018/4/23
 */

public interface LandscapeService {

    //1.1、位置类型添加接口
    ResponseStatus addPlaceType(String name);

    //1.2、位置类型删除接口
    ResponseStatus deletePlaceType(Long id);

    //1.3、获取全部位置类型接口
    ResponseStatus getPlaceTypes();

    //2.4、获取园林景观接口，包括里面的所有的图片
    ResponseStatus getLandscapeTypes();

    //3.1、图片添加接口
    ResponseStatus addLandscapeTypeImage(LandscapeTypeImageReceiveDto imageReceiveDto, MultipartFile file);

    //3.2、图片删除接口
    ResponseStatus deleteLandscapeTypeImage(Long id);

    ResponseStatus modifyLandscapeToUrl(String toUrl);
}
